<?php
if(empty($_FANWE['cache']['medals'])) {
    Cache::getInstance()->loadCache('medals');
}
?>
<!--{loop $article_list $item}-->
       <div class="item">
            <a href="{u article/show id=$item['id']}" target="_blank" class="a1"><span class="g_radius"><span>赞({$item['zai_num']})</span></span><img src="{$item[img]}" class="wf_img" width="{$item[width]}" height="{$item[height]}" /></a>
            <div class="i_info">
                <a href="{u article/show id=$item['id']}">{$item[title]}</a>
            </div>
            
            {if $item['anli'] == 1}
            <div class="i_time">
                店铺：{$item['shop_name']}
                <!--{if $shop_list[$item['uid']]['v2'] > 0}-->
                <?php $medal = $_FANWE['cache']['medals']['all'][$shop_list[$item['uid']]['v2']]; ?>
                    <img src="{$medal['small_img']}" height="25" alt="{$medal['desc']}" title="{$medal['desc']}">
                <!--{/if}-->
                <br/>
                时间：<?php echo date('Y-m-d', $item['create_time']); ?><br/>地区：<a href="/article.php?action=index&{if !$uid}cate={$cate_id}{else}uid={$uid}{/if}&order={$orderkey}&cityid={$item['city']}&areaname={$item['city_show']}">{$item['province_show']}{$item['city_show']}</a>
                {if !empty($shop_list[$item['uid']]['telphone'])}<br/>联系电话：<span style="font-weight:bold;">{$shop_list[$item['uid']]['telphone']}{if !empty($shop_list[$item['uid']]['telphone2'])}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$shop_list[$item['uid']]['telphone2']}{/if}</span>{/if}
                {if !empty($shop_list[$item['uid']]['mobile'])}<br/>手机号码：<span style="font-weight:bold;">{$shop_list[$item['uid']]['mobile']}{if !empty($shop_list[$item['uid']]['mobile2'])}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$shop_list[$item['uid']]['mobile2']}{/if}</span>{/if}
                {if $item['hascoupon']}
                <div class="j_price">
                    <label>促销价</label><b class="b1">￥{$item['price2']}</b>[定金30%]
                </div>
                {/if}
                <div class="j_price">
                    <label>价格</label><b class="{if $item['hascoupon']}b2{else}b1{/if}">￥{$item['price']}</b>{if $item['price2'] < 0}[首付30%]{/if}
                </div>
                {if $item['hascoupon']}
                优惠时间：{if $item['bsj'] > 0 && $item['esj']}<?php echo date('Y-m-d',$item['bsj']); ?> 至 <?php echo date('Y-m-d',$item['esj']); ?>
                {else}不限{/if}
                {/if}
            </div>
            {else}
            <div class="i_time">
                作者：<a href="{if empty($item['uid'])}/{else}/u.php?action=index&uid={$item['uid']}{/if}">{if empty($item['uid'])}火锅阁{else}{$name_list[$item['uid']]['user_name']}{/if}</a>
                {if $name_list[$item['uid']]['realname_shop']}
                <img border="0" style="vertical-align:middle;" src="/public/v1/img/bv.png"/>
                {elseif $name_list[$item['uid']]['realname_person']}
                <img border="0" style="vertical-align:middle;" src="/public/v1/img/rv.png"/>
                {/if}<br/>
                时间：<?php echo date('Y-m-d', $item['create_time']); ?>
            </div>
            {/if}
        </div>
<!--{/loop}-->